package cn.xdwanj.entity

import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableName

/**
 * <p>
 *
 * </p>
 *
 * @author XDwanj
 * @since 2022-04-10
 */
@TableName("emp")
class Emp {

  @TableField("empno")
  var empno: Int? = null

  @TableField("ename")
  var ename: String? = null

  @TableField("job")
  var job: String? = null

  @TableField("mgr")
  var mgr: Int? = null

  @TableField("hiredate")
  var hiredate: String? = null

  @TableField("sal")
  var sal: Int? = null

  @TableField("comm")
  var comm: String? = null

  @TableField("deptno")
  var deptno: Int? = null

  override fun toString(): String {
    return "Emp{" +
        "empno=" + empno +
        ", ename=" + ename +
        ", job=" + job +
        ", mgr=" + mgr +
        ", hiredate=" + hiredate +
        ", sal=" + sal +
        ", comm=" + comm +
        ", deptno=" + deptno +
        "}"
  }
}
